package com.fire.control.system.module.warning.service;

import com.fire.control.system.dto.UserDTO;
import com.fire.control.system.standard.BusinessInterfaceStandard;
import com.fire.control.system.support.protocol.app.AppRequestProtocol;
import com.fire.control.system.support.protocol.comman.ResponseProtocol;

/**
 * 
 * @ClassName:  AppWarningService
 * @Description:  报警设备业务接口
 * @author:  xiechengguang
 * @date:  2017年5月12日 下午6:09:47
 *
 */
public interface AppWarningService extends BusinessInterfaceStandard<AppRequestProtocol, ResponseProtocol> {
	
	
	/**
	 * @Title: getWarningInfo   
	 * @Description: 根据id获取报警详细信息    
	 * @param:        
	 * @return: ResponseProtocol      
	 * @throws
	 */
	public ResponseProtocol getWarningInfo(AppRequestProtocol requestProtocol); 
	
	/**
	 * @Title: getLinkman   
	 * @Description: 根据报警id获取火灾报警联系人    
	 * @param:        
	 * @return: ResponseProtocol      
	 * @throws
	 */
	public ResponseProtocol getLinkman(AppRequestProtocol requestProtocol); 
	
	/**
	 * @Title: report   
	 * @Description: 火灾现场报告、故障处理说明公共方法  
	 * @param:        
	 * @return: ResponseProtocol      
	 * @throws
	 */
	public ResponseProtocol report(AppRequestProtocol requestProtocol, UserDTO user); 
	
	/**
	 * 
	 * @author: xiechengguang 
	 * @Title: getWarnings   
	 * @Description: 确认报警，前端根据返回成功状态，
	 * 若是火灾报警则跳转到电话报警，若是故障报警则跳转到处理报警页面
	 * @param:        
	 * @return: ResponseProtocol      
	 * @throws
	 */
	public ResponseProtocol sureWarning(AppRequestProtocol requestProtocol); 
	
	/**
	 * @author: xiechengguang 
	 * @Title: handles   
	 * @Description: 报警处理情况  
	 * @param:        
	 * @return: ResponseProtocol      
	 * @throws
	 */
	public ResponseProtocol handles(AppRequestProtocol requestProtocol); 
	
	/**
	 * @author: xiechengguang 
	 * @Title: finishWarning   
	 * @Description: 火灾报警---完成报警流程  
	 * @param:        
	 * @return: ResponseProtocol      
	 * @throws
	 */
	public ResponseProtocol finishWarning(AppRequestProtocol requestProtocol); 
	
	/**
	 * @author: xiechengguang 
	 * @Title: handleLog   
	 * @Description: 我的工作记录---故障/ 误报/ 火警  
	 * @param:        
	 * @return: ResponseProtocol      
	 * @throws null
	 */
	public ResponseProtocol handleLog(AppRequestProtocol requestProtocol, UserDTO user); 
	
	/**
	 * @author: xiechengguang 
	 * @Title: receive   
	 * @Description: 接警
	 * @param:        
	 * @return: ResponseProtocol      
	 * @throws null
	 */
	public ResponseProtocol receive(AppRequestProtocol requestProtocol); 
	
	
	
	
}
